package com.kotlin.message.data.protocol

import com.j256.ormlite.field.DatabaseField
import com.j256.ormlite.table.DatabaseTable

/*
    消息实体
 */

data class Message(val msgIcon:String,val msgTitle:String,val msgContent:String,val msgTime:String)

//@DatabaseTable(tableName = "t_alarm_message") class Message {
//
//    @DatabaseField(id = true)var id: Int = 0 //使用指定id
//    @DatabaseField(columnName = "msgIcon") var msgIcon:String? = null
//    @DatabaseField(columnName = "msgTitle") var msgTitle:String? = null
//    @DatabaseField(columnName = "msgContent") var msgContent:String? = null
//    @DatabaseField(columnName = "msgTime") var msgTime:String? = null

//}